
	
this.view = {
	extend: "base",

};

this.handler = function(){
	
	
	this.get = function(){
		var user = storage.users.getSingle({"hn-username": request.uri.tokens["hn-username"]});
		if(user){
			$("#content").html("<p>Your News.YC username '"+request.uri.tokens["hn-username"]+"' has been authorized.</p>" +
				"<p><strong>Please note:</strong> Once you log out of News.YC you will need to re-authorize ycfeeds.com to post to FriendFeed on your behalf.");
		} else {
			$("#content").html("Please authorize you News.YC account <a href='..'>here</a>");
		}	
	}
	
	this.post = function(){
		this.get();
	}
	
}

